#
# (C) Copyright 2000-2004
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
#
# SPDX-License-Identifier:	GPL-2.0+
#

CURRENT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))
FOLDER_EXISTS := $(shell test -d $(CURRENT_DIR)/$(CONFIG_UBOOT_BOARD_NAME) && echo exists)
$(if $(FOLDER_EXISTS),, $(error Directory "$(CURRENT_DIR)/$(CONFIG_UBOOT_BOARD_NAME)" does not exist))

obj-y += $(CONFIG_UBOOT_BOARD_NAME)/
